package com.tanger.permission.entity.role;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description 用户角色
 * @Author Hchenbin
 * @Date 2022/6/27 17:58
 * @Version 1.0
 */
@Data
@ApiModel("用户角色")
@TableName("brt_base_user_role")
public class EntityUserRole implements Serializable {

    @ApiModelProperty("ID")
    @TableId(value = "ID",type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("用户ID")
    private Long userId;
    @ApiModelProperty("角色ID")
    private Long roleId;
}
